home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(load){
- function hit(whichShot)
- {
- if(whichShot != _root.newshot5000)
- {
- i = 1;
- while(i <= 2)
- {
- _root.actions.cellNumber = _root.actions.cellNumber + 1;
- duplicateMovieClip(_root.glob,"cell" + _root.actions.cellNumber,16384 + _root.actions.cellNumber);
- _root["cell" + _root.actions.cellNumber]._x = _X;
- _root["cell" + _root.actions.cellNumber]._y = _Y;
- i++;
- }
- if(whichShot != 0)
- {
- _root.actions.cellNumber = _root.actions.cellNumber + 1;
- duplicateMovieClip(_root.seeker,"cell" + _root.actions.cellNumber,16384 + _root.actions.cellNumber);
- _root["cell" + _root.actions.cellNumber]._x = _X;
- _root["cell" + _root.actions.cellNumber]._y = _Y;
- }
- removeMovieClip(whichShot);
- _root.actions.death(this);
- _root.actions.score += 75;
- }
- }
- moveTime = getTimer();
- appearTime = getTimer();
- ySpeed = 4;
- rotateSpeed = random(8) - 4;
- pause = random(7000) + 7000;
- amoebaSound = new Sound(this);
- amoebaSound.attachSound("amoeba");
- soundStartable = true;
- }
-